package com.im.service.infra.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Document("chat_history")
public class ChatHistory {
    private String id;

    private String senderId;

    private String receiverId;

    private LocalDateTime sentSuccessTime;

    private LocalDateTime forwardSuccessTime;

    private String msgBody;

    private String msgStatus;
}
